home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / dev / gui / DesignerV1_53.lha / Designer / Developer / Developer.lha / C / include / producer.h
C/C++ Source or Header  |  1995-04-26  |  7KB  |  227 lines

  1. #define  TagTypeLong            0
  2. #define  TagTypeBoolean         1
  3. #define  TagTypeString          2
  4. #define  TagTypeArrayByte       3
  5. #define  TagTypeArrayWord       4
  6. #define  TagTypeArrayLong       5
  7. #define  TagTypeArrayString     6
  8. #define  TagTypeStringList      7
  9. #define  TagTypeUser            8
  10. #define  TagTypeVisualInfo      9
  11. #define  TagTypeDrawInfo        10
  12. #define  TagTypeIntuiText       11
  13. #define  TagTypeImage           12
  14. #define  TagTypeImageData       13
  15. #define  TagTypeLeftCoord       14
  16. #define  TagTypeTopCoord        15
  17. #define  TagTypeWidth           16
  18. #define  TagTypeHeight          17
  19. #define  TagTypeGadgetID        18
  20. #define  TagTypeFont            19
  21. #define  TagTypeScreen          20
  22. #define  TagTypeGadget          21
  23. #define  TagTypeUser2           22
  24.  
  25. #define  MYBOOL_KIND            227
  26. #define  MYOBJECT_KIND          198
  27.  
  28. struct ProducerNode
  29. {
  30.     struct MinList            pn_WindowList;
  31.     struct MinList            pn_MenuList;
  32.     struct MinList            pn_ImageList;
  33.     struct MinList            pn_ScreenList;
  34.     
  35.     struct MinList            pn_LocaleList;
  36.     long                      pn_LocaleCount;
  37.     char                    * pn_BaseName;
  38.     char                    * pn_GetString;
  39.     char                    * pn_BuiltInLanguage;
  40.     long                      pn_LocaleVersion;
  41.     
  42.     UBYTE                     pn_ProcedureOptions[50];
  43.     UBYTE                     pn_CodeOptions[20];
  44.     UBYTE                     pn_OpenLibs[30];
  45.     long                      pn_VersionLibs[30];
  46.     UBYTE                     pn_AbortOnFailLibs[30];
  47.     char                    * pn_Includes;
  48. };
  49.  
  50. struct MyTag
  51. {
  52.     struct MyTag            * mt_Succ;
  53.     struct MyTag            * mt_Pred;
  54.     char                    * mt_Label;
  55.     long                      mt_Value;
  56.     long                      mt_BufferSize;
  57.     UBYTE                   * mt_Data;
  58.     UWORD                     mt_TagType;
  59. };
  60.  
  61. struct StringNode
  62. {
  63.     struct StringNode       * sn_Succ;
  64.     struct StringNode       * sn_Pred;
  65.     char                    * sn_String;
  66. };
  67.  
  68. struct GadgetNode
  69. {
  70.     struct GadgetNode       * gn_Succ;
  71.     struct GadgetNode       * gn_Pred;
  72.     char                    * gn_Label;
  73.     char                    * gn_Title;
  74.     struct TagItem          * gn_TagList;
  75.     long                      gn_Flags;
  76.     long                      gn_LeftEdge;
  77.     long                      gn_TopEdge;
  78.     long                      gn_Width;
  79.     long                      gn_Height;
  80.     long                      gn_GadgetID;
  81.     long                      gn_Kind;
  82.     struct TextAttr           gn_Font;
  83. };
  84.  
  85. struct TextNode
  86. {
  87.     struct TextNode         * tn_Succ;
  88.     struct TextNode         * tn_Pred;
  89.     char                    * tn_Title;
  90.     long                      tn_LeftEdge;
  91.     long                      tn_TopEdge;
  92.     struct TextAttr           tn_Font;
  93.     UBYTE                     tn_FrontPen;
  94.     UBYTE                     tn_BackPen;
  95.     UBYTE                     tn_DrawMode;
  96.     UBYTE                     tn_ScreenFont;
  97. };
  98.  
  99. struct BevelBoxNode
  100. {
  101.     struct BevelBoxNode     * bb_Succ;
  102.     struct BevelBoxNode     * bb_Pred;
  103.     long                      bb_LeftEdge;
  104.     long                      bb_TopEdge;
  105.     long                      bb_Width;
  106.     long                      bb_Height;
  107.     UWORD                     bb_BevelType;
  108. };
  109.  
  110. struct SmallImageNode
  111. {
  112.     struct SmallImageNode   * sin_Succ;
  113.     struct SmallImageNode   * sin_Pred;
  114.     struct ImageNode        * sin_Image;
  115.     long                      sin_LeftEdge;
  116.     long                      sin_TopEdge;
  117. };
  118.  
  119. struct WindowNode
  120. {
  121.     struct WindowNode       * wn_Succ;
  122.     struct WindowNode       * wn_Pred;
  123.     struct MinList            wn_GadgetList;
  124.     struct MinList            wn_TextList;
  125.     struct MinList            wn_ImageList;
  126.     struct MinList            wn_BevelBoxList;
  127.     char                    * wn_Label;
  128.     char                    * wn_WinParams;
  129.     char                    * wn_RendParams;
  130.     struct TagItem          * wn_TagList;
  131.     struct MenuNode         * wn_Menu;
  132.     UBYTE                     wn_LocaleOptions[6];
  133.     UBYTE                     wn_CodeOptions[20];
  134.     UBYTE                     wn_ExtraCodeOptions[20];
  135.     UWORD                     wn_Offx;
  136.     UWORD                     wn_Offy;
  137.     UWORD                     wn_Fontx;
  138.     UWORD                     wn_Fonty;
  139.     long                      wn_FirstID;
  140. };
  141.  
  142. struct LocaleNode
  143. {
  144.     struct LocaleNode       * ln_Succ;
  145.        struct LocaleNode       * ln_Pred;
  146.     char                    * ln_String;
  147.     char                    * ln_Label;
  148.     char                    * ln_Comment;
  149. };
  150.  
  151. struct ImageNode 
  152. {
  153.     struct ImageNode        * in_Succ;
  154.     struct ImageNode        * in_Pred;
  155.     char                    * in_Label;
  156.     WORD                      in_Width;
  157.     WORD                      in_Height;
  158.     WORD                      in_Depth;
  159.     UBYTE                     in_PlanePick;
  160.     UBYTE                     in_PlaneOnOff;
  161.     UBYTE                   * in_ImageData;
  162.     long                      in_SizeAllocated;
  163.     UBYTE                   * in_ColourMap;
  164.     long                      in_MapSize;
  165. };
  166.  
  167. struct MenuNode
  168. {
  169.     struct MenuNode         * mn_Succ;
  170.     struct MenuNode         * mn_Pred;
  171.     struct MinList            mn_MenuList;
  172.     char                    * mn_Label;
  173.     struct TagItem          * mn_TagList;
  174.     UBYTE                     mn_LocaleMenu;
  175. };
  176.  
  177. struct MenuTitleNode
  178. {
  179.     struct MenuTitleNode    * mt_Succ;
  180.     struct MenuTitleNode    * mt_Pred;
  181.     struct MinList            mt_ItemList;
  182.     char                    * mt_Text;
  183.     char                    * mt_Label;
  184.     UBYTE                     mt_Disabled;
  185. };
  186.  
  187. struct MenuItemNode
  188. {
  189.     struct MenuItemNode     * mi_Succ;
  190.     struct MenuItemNode     * mi_Pred;
  191.     struct MinList            mi_SubItemList;
  192.     char                    * mi_Text;
  193.     char                    * mi_Label;
  194.     struct ImageNode        * mi_Graphic;
  195.     char                      mi_CommKey;
  196.     UBYTE                     mi_Disabled;
  197.     UBYTE                     mi_Checkit;
  198.     UBYTE                     mi_MenuToggle;
  199.     UBYTE                     mi_Checked;
  200.     UBYTE                     mi_Barlabel;
  201.     long                      mi_Exclude;
  202. };
  203.  
  204. struct MenuSubItemNode
  205. {
  206.     struct MenuSubItemNode  * ms_Succ;
  207.     struct MenuSubItemNode  * ms_Pred;
  208.     char                    * ms_Text;
  209.     char                    * ms_Label;
  210.     struct ImageNode        * ms_Graphic;
  211.     char                      ms_CommKey;
  212.     UBYTE                     ms_Disabled;
  213.     UBYTE                     ms_Checkit;
  214.     UBYTE                     ms_MenuToggle;
  215.     UBYTE                     ms_Checked;
  216.     UBYTE                     ms_Barlabel;
  217.     long                      ms_Exclude;
  218. };
  219.  
  220. struct ScreenNode
  221. {
  222.     struct ScreenNode       * sn_Succ;
  223.     struct ScreenNode       * sn_Pred;
  224.     char                    * sn_Label;
  225.     struct TagItem          * sn_TagList;
  226.     UBYTE                     sn_LocaleTitle;
  227. };